/**    
* @Title: ExchangeServerInfo.java
* @Package: org.vdalf.gsgz.entities
* @author vDalf 2020-09-26 11:00:57 上午11:00:57
* @Copyright © 2020 vDalf Block-Chain Foundation (In Preparation Non-Governmental Organization) All rights reserved.
*/
package org.vdalf.gsgz.entities;

/**    
* @Title: ExchangeServerInfo.java
* @Package: org.vdalf.gsgz.entities
* @Description: 
* @author vDalf 2020-09-26 11:00:57 上午11:00:57
*/
public class ExchangeServerInfo {
	
	private String host = "https://www.okex.com/";
	
	private String futuresOrderCommitUrl = "/api/futures/v3/order";
	
	private String swapOrderCommitUrl = "/api/swap/v3/order";
	
	private boolean enableWebsocket = true;
	
	private boolean enableWebsocketLogger = false;

	private String wsUrl = "wss://real.coinall.ltd:8443/ws/v3?compress=true";
//	private String wsUrl = "wss://real.okex.com:8443/ws/v3";
	
	public String getHost() {
		return host;
	}

	public void setHost(String host) {
		this.host = host;
	}

	public String getFuturesOrderCommitUrl() {
		return futuresOrderCommitUrl;
	}

	public void setFuturesOrderCommitUrl(String futuresOrderCommitUrl) {
		this.futuresOrderCommitUrl = futuresOrderCommitUrl;
	}

	public String getSwapOrderCommitUrl() {
		return swapOrderCommitUrl;
	}

	public void setSwapOrderCommitUrl(String swapOrderCommitUrl) {
		this.swapOrderCommitUrl = swapOrderCommitUrl;
	}

	public boolean isEnableWebsocket() {
		return enableWebsocket;
	}

	public void setEnableWebsocket(boolean enableWebsocket) {
		this.enableWebsocket = enableWebsocket;
	}

	public boolean isEnableWebsocketLogger() {
		return enableWebsocketLogger;
	}

	public void setEnableWebsocketLogger(boolean enableWebsocketLogger) {
		this.enableWebsocketLogger = enableWebsocketLogger;
	}

	public String getWsUrl() {
		return wsUrl;
	}

	public void setWsUrl(String wsUrl) {
		this.wsUrl = wsUrl;
	}
	
}
